#ifndef MAP_HH_
# define MAP_HH_

# include <list>
# include <cmath>

# include <math/vector.hh>

# include <interface/sendable.hh>

class Map: public Sendable
{
public:
  Map (int height, int width);
  ~Map ();

  int operator() (int x, int y); // getter
  void operator() (int x, int y, int val); // setter

  int height_get ();
  int width_get ();

  std::list<Vector3d*>* points_calc (int offset_i, int offset_j);

  virtual std::string tonet () const;
protected:
  int height_;
  int width_;
  int** map_;
};

#endif /// !MAP_HH_
